#include"ConcurrentAlloc.h"

void Aloc1()
{
	for (size_t i = 0; i < 5; ++i)
	{
		void* ptr = ConcurrentAlloc(6);
	}
}
void Aloc2()
{
	for (size_t i = 0; i < 5; ++i)
	{
		void* ptr = ConcurrentAlloc(7);
	}
}
void TLSTset()
{
	std::thread t1(Aloc1);
	t1.join();

	std::thread t2(Aloc2);

	t2.join();
}
int main()
{
	TLSTset();

	return 0;
}